﻿<!DOCTYPE html>
<html style="font-size: 40px;" data-dpr="1" lang="zh-CN"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  	<title>{$category.title}</title>
  	<meta charset="utf-8">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-touch-fullscreen" content="yes">
	<!--<meta name="full-screen" content="yes">-->
	<meta content="fullscreen=yes,preventMove=no" name="ML-Config">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no,email=no,address=no">
  	<meta content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" type="text/css" href="/shop/templates/default/css/goods.css">
        <link href="/shop/templates/default/css/style.css" rel="stylesheet" />
    <link href="/shop/templates/default/css/templates.css" rel="stylesheet" />
 <script>
	//document.domain = 'clofood.cn';
	! function(a) {
		function b() {
			var b = g.getBoundingClientRect().width;
			b / c > 640 && (b = 640 * c), a.rem = b / 16, g.style.fontSize = a.rem + "px"
		}
		var c, d, e, f = a.document,
			g = f.documentElement,
			h = f.querySelector('meta[name="viewport"]'),
			i = f.querySelector('meta[name="flexible"]');
		if (h) {
			var j = h.getAttribute("content").match(/initial\-scale=(["']?)([\d\.]+)\1?/);
			j && (d = parseFloat(j[2]), c = parseInt(1 / d))
		} else if (i) {
			var j = i.getAttribute("content").match(/initial\-dpr=(["']?)([\d\.]+)\1?/);
			j && (c = parseFloat(j[2]), d = parseFloat((1 / c).toFixed(2)))
		}
		if (!c && !d) {
			var k = (a.navigator.appVersion.match(/android/gi), a.navigator.appVersion.match(/iphone/gi)),
				c = a.devicePixelRatio;
			c = k ? c >= 3 ? 3 : c >= 2 ? 2 : 1 : 1, d = 1 / c
		}
		if (g.setAttribute("data-dpr", c), !h)
			if (h = f.createElement("meta"), h.setAttribute("name", "viewport"), h.setAttribute("content", "initial-scale=" + d + ", maximum-scale=" + d + ", minimum-scale=" + d + ", user-scalable=no"), g.firstElementChild) g.firstElementChild.appendChild(h);
			else {
				var l = f.createElement("div");
				l.appendChild(h), f.write(l.innerHTML)
			}
		a.dpr = c, a.addEventListener("resize", function() {
			clearTimeout(e), e = setTimeout(b, 300)
		}, !1), a.addEventListener("pageshow", function(a) {
			a.persisted && (clearTimeout(e), e = setTimeout(b, 300))
		}, !1), "complete" === f.readyState ? f.body.style.fontSize = 12 * c + "px" : f.addEventListener("DOMContentLoaded", function() {
			f.body.style.fontSize = 12 * c + "px"
		}, !1), b()
	}(window);
		// var targetProtocol = "https:";
	// if (window.location.protocol != targetProtocol){
	// 	window.location.href = targetProtocol + window.location.href.substring(window.location.protocol.length);
     // }
	var basePath = "{$yuming}", baseParam = "openid={$openid}&wid={$wid}&shopid={$shopid}";
	</script>
  
</head>
<body style="font-size: 12px;">

  	<div class="wrap">
            
			<div class="title">
			<ul>
				<li id="sale" class="active" data-mode="sale">{$category.title}</li>
				
				<li id="special" data-order="up" data-mode="price">
				
				<li id="filter" data-mode="brand"><a style="color:#ff5500" href="/shop/index.aspx?wid={$wid}&openid={$openid}">首页</a></li>
			</ul>
			</div>
	    	<div class="list">
                
	    		<ul class="clearfix productlist" id="show_container">
					</ul>
	    		<div class="xian"></div>
	  			<h2 class="no" style="display: block">没有更多商品了</h2>
	    	</div>
         <!--_bottom-->
       <vt:template id="_bottom" file="_bottom2.html" charset="utf-8" />
    <!--/_bottom-->	
  	</div>
      <input type="hidden" value="{$wid}" id="hidwid" name="hidwid">
      <input type="hidden" value="{$openid}" id="openid" name="openid">
    <script type="text/template" id="show_item_tpl">
        <li class="shop_list"><div class="pic"><a href="{$yuming}/shop/detail.aspx?wid={$wid}&pid={#itemCode#}&openid={$openid}&shopid={$shopid}">
            <img style="display: inline;" class="lazy" src="{#imgUrl#}" data-original="{#imgUrl#}" /></a></div>
            <div class="infor"><div class="tit">{#itemName#}</div><div class="tag1"></div>
            <div class="price"><span color:#f5280d;font-size:1.0em>折扣价:￥{#wgPrice#}</span><s>市场价￥{#marketPrice#}</s></div>
            </div></li>
    </script>
<script src="/shop/templates/default/js/zepto.min.js"></script>
     <vt:set var="orderby" value="sort_id asc" id="norderby" />
        <vt:set var="pagesize" value="116" id="npagesize" />
    <script type="text/javascript">
       
        var itemArray = {
            "1": [ <vt:foreach from="$productlist" item="product" index="i">
                  <vt:if var="#.i.IsLast" value="true">
                           {
                               "itemCode": "{$product.id}",
                               "itemName": "{$product.productName}",
                               "imgUrl": "{$product.productpic}",
                               "wgPrice": "{$product.salePrice}",
                               "marketPrice":"{$product.MarketPrice}",
                               "discount": ""
                           }
                            <vt:else>
                  { "itemCode": "{$product.id}",  "itemName": "{$product.productName}",  "imgUrl": "{$product.productpic}", "wgPrice": "{$product.salePrice}","marketPrice": "{$product.MarketPrice}", "discount": ""},
                           </vt:if>

                   </vt:foreach>

                 ]},
 	    lz = true;
        var topicType = 2;
    </script>

    <!--_share_js-->
       <vt:template id="share_js" file="_share_js.html" charset="utf-8" />
    <!--/_share_js-->	
    <script type="text/javascript">
        mobile.o2ocn.topic.init();
    </script>

</body></html>